package com.apptravel.dao;

import com.apptravel.entity.Ticket;

import java.util.Map;

public interface TicketDAO {
    
    int deleteById(Long id);

    void insert(Ticket record);


    Ticket selectById(Long id);


    int updateById(Ticket record);

    Page<Ticket> getList(Map<String, Object> params, int pageNo, int pageSize);

    Ticket selectJoinById(Long id);

    int deleteByMap(Map<String, Object> params);
}